package com.sxdb.webadmin.mapper;

import com.sxdb.webadmin.bean.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author MAXIAO
 * @create 2021-04-20-11:24
 */
@Mapper
public interface StudentMapper {


    @Select("select * from student where id = #{id}")
    public Student getStudent(int id);


    public void addStudent(Student student);

}
